<?php
	require_once dirname(__FILE__).'/class.dc.behaviorsAgenda.php';
	require_once dirname(__FILE__).'/class.dc.urlAgenda.php';
	require_once dirname(__FILE__).'/class.dc.tplAgenda.php';
	require_once dirname(__FILE__).'/_widgets.php';
	/* Variables templates ajoutees */
	$core->tpl->addValue('AgendaDates', array('tplAgenda', 'dates'));
	$core->tpl->addValue('AgendaTitre', array('tplAgenda', 'AgendaTitre'));
	$core->tpl->addBlock('AgendaEntries', array('tplAgenda', 'AgendaEntries'));
	$core->tpl->addValue('AgendaPrevious', array('tplAgenda', 'AgendaPrevious'));
	$core->tpl->addValue('AgendaNext', array('tplAgenda', 'AgendaNext'));
	$core->tpl->addValue('getLinkToAgenda', array('tplAgenda', 'getLinkToAgenda'));
	
	$core->addBehavior('publicHeadContent', array('agendaBehaviors', 'headContent'));
?>
